﻿using CinemaMaestro.DataLayer.Contracts.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CinemaMaestro.BusinessLayer.Contracts
{
    public interface IMovies
    {
        Movie Create(Movie movie);
        IQueryable<Movie> Read();
        void Update(Movie entity);
        bool Delete(int id);
        bool MovieHasRelationWithCategory(int categoryId);
        bool MovieHasRelationWithDirector(int directorId);
        bool MovieHasRelationWithActor(int actorId);
    }
}
